package tg.edu.fhh.demo.entity;

import javax.persistence.Entity;

import tg.edu.fhh.demo.custom.BaseEntity;


@Entity
public class Course  extends BaseEntity<Integer>{
	
	private String name;
	private String classHour;
    
    
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getClassHour() {
		return classHour;
	}
	public void setClassHour(String classHour) {
		this.classHour = classHour;
	}
	public Course() {
		super();
	}
	public Course(Integer id) {
		super(id);
	}
	@Override
	public String toString() {
		return "Course [name=" + name + ", classHour=" + classHour + ", id=" + getId() + "]";
	}
    
}
